<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet"  type="text/css"  href="/lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet"  type="text/css" href="/css/goodslist.css">
    <link rel="stylesheet" href="/css/liandou.css">
</head>
<body>
<div class="panel panel-default">
    <div class="panel-heading">联豆管理-订单详情 <a class="btn btn-default btn-xs" href="javascript:history.go(-1)">返回</a></div>
    <form action="">
    <div class="panel-body">
        <div class="row">
            <div class="col-sm-4 col-sm-offset-2">
                <ul class="userdesc" >
                    <li><span class="title">联豆单号：</span><span>{$result[0]['order_num']}</span></li>
                    <li><span class="title">订单请求：</span><span>{if $result[0]['user_staff'] == '1'}提现{else}充值{/if}</span></li>
                    <li><span class="title">详细信息：</span>
                        <span>前端发起
                            {if $result[0]['user_staff'] == '1'}
                                提现{$result[0]['beans_num']}金额*90%=¥{$result[0]['order_money']}
                            {else}
                                充值¥{$result[0]['beans_num']}0小钱包0.1元出=￥{$result[0]['order_money']}，兑换联豆{$result[0]['beans_num']}
                            {/if}</span></li>
                    <li><span class="title">请求时间：</span><span>{$result[0]['create_time']}</span></li>
                    <li><span class="title">订单状况：</span><span>
                    {if $result[0]['order_staff'] == '1'}
                    等待处理
                    {elseif $result[0]['order_staff'] == '2'} 
                    处理中
                    {else}
                    处理成功
                    {/if}
                    </span></li>
                    <li>
                        <span class="title">订单操作前联豆数量:</span><span id="before">{$result[0]['beans_start_num']}</span>
                    </li>
                    <li>
                        <span class="title">订单操作后联豆数量:</span><span id="after">{$result[0]['beans_end_num']}</span>
                    </li>
                    <li >
                        <span class="title" style="vertical-align: top">备注：</span><textarea  disabled cols="30" rows="3">{$result[0]['remarks']}</textarea>
                    </li>
                    <!--
                    <li>
                        <span class="title">操作：</span>
                        <input type="text" id="num" class="textbox">
                        <button type="but   ton" class="btn btn-default" id="add">增加</button>
                        <button type="button" class="btn btn-default"  id="cut">减少</button>
                    </li>
                    <li>
                        联豆变更数量：<span id="text" class="red"></span>
                    </li>
                -->
                </ul>
                <input type="text" id="before1" name="" hidden>
                <input type="text" id="after1" name="" hidden>
                <input type="text" id="change" name="" hidden>
                <div class="row" style="margin-top: 20px ;text-align: center">
                   <!-- <button type="submit" class="btn btn-info " id="bok">保存</button> -->
                </div>
            </div>
            <div class="col-sm-6">
                <ul class="orderdesc">
                    <li>
                        <span class="title">手机号：</span><span>{$result[0]['iphone']}</span>
                    </li>
                    <li>
                        <span class="title">
                        支付方式：</span><span>{if $result[0]['pay_staff'] == '1'}银行卡{elseif $result[0]['pay_staff'] == '2'}支付宝{else}微信{/if}</span><span>（<i>{if $result[0]['pay_staff'] == '1'}{$result[0]['bank_num']}{/if}</i>）</span>
                    </li>
                    <li>
                        <span class="title">真实姓名：</span><span>{$result[0]['user_name']}</span>
                    </li>
                </ul>
            </div>
        </div>

        </div>
    </form>
</div>
<script src="/lib/jquery/jquery.min.js"></script>
<script src="/lib/bootstrap/js/bootstrap.min.js"></script>
<script src="/js/LDupdata.js"></script>
</body>
</html>